package com.example.natatorium_management.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("Member_ship")
public class MemberShip {

  private Long memberShipId;
  private String memberName;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date startTime;
  private Long memberShipCard;
  private String remark;
  private Long amount;
  private String gander;
  private Integer level;
  private String customerName;
  private Long phone;

}
